package fox.framework.rpc.client.node.rule;

import fox.framework.rpc.client.node.RpcMetadata;
import fox.framework.rpc.client.node.RpcNode;


/**
 * Rpc控制选择器
 * @author cuichao
 * @Description: Rule
 * @Date: create in 2021/1/5 22:32
 */
public interface Rule {
    /**
     * 选择一个node节点
     * @return
     */
    RpcNode choose(RpcMetadata metadata);
}
